﻿<Window x:Class="TextToHTML.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="HTML Converter" Height="384" Width="480" WindowStyle="SingleBorderWindow" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
    <Grid>
    	<Grid.RowDefinitions>
    		<RowDefinition Height="0.878*"/>
    		<RowDefinition Height="0.122*"/>
    	</Grid.RowDefinitions>
        
    	<Grid.ColumnDefinitions>
    		<ColumnDefinition Width="*"/>
    	</Grid.ColumnDefinitions>
    	<StackPanel Margin="0,0,0,0" VerticalAlignment="Stretch" Width="Auto" Height="Auto" Orientation="Horizontal" d:LayoutOverrides="Width" Grid.Row="1" HorizontalAlignment="Right">
    		<Button Width="108.8" Height="29.6" Content="Cancel" Margin="5,5,5,5" BorderThickness="5,5,5,5" Click="CancelRendering" />
    		<Button Margin="5,5,5,5" Width="108.8" Height="29.6" Content="Render" BorderThickness="5,5,5,5" Click="RenderText" />
    	</StackPanel>
    	<TextBox Margin="2,2,2,2" VerticalAlignment="Stretch" Width="Auto" Height="Auto" Grid.RowSpan="1" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Name="toRenderText" Text="Enter Text To Render Here" TextWrapping="Wrap" AcceptsReturn="True">
    	</TextBox>
        
    </Grid>
</Window>
